package com.magicsoft.share.bean.exchange;

import java.io.Serializable;

/**
 * Created by lyf on 2017/12/4/004.
 */

public class GoodsSubmit implements Serializable {


    /**
     * goodsId : 11
     * goodsName : 水晶小手链
     * goodsImg : https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3254251292,1814601444&fm=27&gp=0.jpg
     * price : 29
     * goodsNum : 1
     */

    private long goodsId;
    private String goodsName;
    private String goodsImg;
    private int price;
    private int goodsNum;

    private int checkStock;

    public GoodsSubmit() {
    }

    public GoodsSubmit(long goodsId, String goodsName, String goodsImg, int price, int goodsNum) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsImg = goodsImg;
        this.price = price;
        this.goodsNum = goodsNum;
        this.checkStock = 1;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }

    public int getCheckStock() {
        return checkStock;
    }

    public void setCheckStock(int checkStock) {
        this.checkStock = checkStock;
    }
}
